@import "./data";
@import "./color";
@import "./mixin";
// 商家信息头部
.details_header {
    height: 90px;
    border-bottom: 1px solid #ddd;
    .details_header_center {
        width: $type_area_width;
        margin: 0 auto;
        clear: both;
        .details_header_left {
            float: left;
            .details_logo {
                width: 190px;
                height: 60px;
                float: left;
                overflow: hidden;
                margin: 15px 20px 0 0;
                padding-right: 20px;
                border-right: 1px solid #eee;
                img {
                    width: 100%;
                    margin-top: -15px;
                }
            }
            .details_store {
                float: left;
                margin-top: 18px;

                .store_name {
                    margin-bottom: 10px;
                    font-size: 14px;
                    height: 20px;
                    overflow: hidden;
                    line-height: 20px;
                    font-weight: 700;
                    color: #666;
                    a {
                        float: left;
                        display: block;
                        overflow: hidden;
                        color: #666;
                        word-wrap: break-word;
                        display: inline-block;
                        white-space: pre;
                        &:hover {
                            text-decoration: underline;
                        }
                    }
                }
                .store_grade {
                    float: left;
                    padding-bottom: 22px;
                    position: relative;
                    margin-right: 25px;
                    cursor: pointer;
                    z-index: 16;
                    .store_star {
                        width: 130px;
                        height: 21px;
                        span {
                            font-size: 12px;
                        }
                        .star_num {
                            float: right;
                            width: 70px;
                            display: flex;
                            margin-top: 1px;
                            i {
                                color: orangered;
                            }
                        }
                    }
                }
                .contact_seller {
                    float: left;
                    margin-right: 10px;
                    margin-top: 2px;
                    color: #08c;
                    height: 18px;
                    overflow: hidden;
                    margin-bottom: 20px;
                    img {
                        vertical-align: middle;
                        width: 69px;
                        height: 18px;
                    }
                }
            }
        }
        .details_header_right {
            float: right;
            display: inline;
            position: relative;
            float: right;
            height: 56px;
            margin-right: 0;
            margin-top: 26px;
            width: 540px;
            .search_form {
                .details_header_search {
                    border: 2px solid #ffbc35;
                    padding: 8.5px 10px;
                    outline: none;
                    width: 354px;
                    color: rgb(153, 153, 153);
                }
                button {
                    padding: 0px;
                    letter-spacing: 0px;
                    display: inline-block;
                    font-weight: 700;
                    width: 79px;
                    height: 36px;
                    line-height: 36px;
                    text-align: center;
                    color: #fff;
                    outline: none;
                    border: none;
                    cursor: pointer;
                    font-size: 16px;
                }
                .search_suning {
                    background: #ffbc35;
                    margin-left: -5px;
                    margin-top: 1px;
                }
                .search_this {
                    background: #444;
                    margin-left: -1px;
                    margin-top: 1px;
                }
            }
        }
    }
}

// 商家信息宣传图
.details_store_publicity {
    background-image: url(../img/store_bg.jpg);
    background-repeat: repeat-x;
    background-position: center 0px;
    background-color: #407fce;
    background-attachment: scroll;
    height: 120px;
}

// 商家信息导航栏
.details_store_nav {
    height: 40px;
    background-color: #ff0000;
    .details_store_nav_center {
        width: 990px;
        margin: 0 auto;
        height: 40px;
        line-height: 40px;
        dl {
            float: left;
            width: 145px;
            dt {
                height: 40px;
                line-height: 40px;
                text-align: center;
                color: #fff;
                cursor: pointer;
                font-size: 16px;
            }
        }
        ul {
            float: left;
            width: 835px;
            height: 40px;
            overflow: hidden;
            background-color: rgb(255, 0, 0);
            border-left: 1px solid rgb(152, 0, 0);
            li {
                position: relative;
                float: left;
                padding: 0 20px;
                color: #fff;
                display: block;
                cursor: pointer;
                &:hover {
                    background-color: rgb(152, 0, 0);
                }
                a {
                    color: #fff;
                }
            }
        }
    }
}

// 商品信息导航栏
.goods_msg_nav {
    background-color: #f8f8f8;
    .goods_msg_center {
        width: $type_area_width;
        margin: 0 auto;
        position: relative;
        .goods_navigation {
            position: relative;
            height: 20px;
            padding: 10px 0;
            line-height: 20px;
            z-index: 10;
            background: #f8f8f8;
            a {
                color: #666;
                max-width: 400px;
                text-overflow: ellipsis;
                overflow: hidden;
                white-space: nowrap;
                font-size: 12px;
                margin: 0 3px;
                &:hover {
                    color: $nav_import_color;
                    text-decoration: underline;
                }
            }
        }
        .goods_nav_right {
            position: absolute;
            right: 0;
            top: 2px;
            height: 20px;
            padding: 8px 0;
            z-index: 10;
            cursor: default;
            display: flex;
            .store_name {
                vertical-align: top;
                display: inline-block;
                margin-right: 27px;
                margin-top: 4px;
                font-size: 12px;
                height: 12px;
                line-height: 12px;
                color: #333;
                max-width: 144px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }
            .service {
                vertical-align: top;
                height: 16px;
                margin-top: 2px;
                display: inline-block;
                font-size: 0;
                img {
                    width: 16px;
                    height: 16px;
                }
                span {
                    vertical-align: top;
                    display: inline-block;
                    font-size: 12px;
                    height: 16px;
                    line-height: 16px;
                }
            }
        }
    }
}

// 详情部分
.magnify_glass_container {
    width: $type_area_width;
    margin: 0 auto;
    margin-top: 10px;
    clear: both;

    // 放大镜部分
    .container-magnifier {
        float: left;
        width: 402px;
        // margin: 40px;
        position: relative;
        .wrap-small-magnifier {
            width: 400px;
            height: 400px;
            border: 1px solid #ddd;
            .small_img_wrapper {
                width: 100%;
                height: 100%;
                display: none;
                &.active{
                    display: block;
                }
                .patch {
                    width: 400px;
                    height: 400px;
                    position: absolute;
                    top: 0;
                    left: 0;
                    z-index: 999;
                }
                .focus {
                    width: 200px;
                    height: 200px;
                    background: #fede4f;
                    opacity: 0.5;
                    position: absolute;
                    left: 0;
                    top: 0;
                    display: none;
                    z-index: 200;
                }
                img {
                    width: 100%;
                    height: 100%;
                }
            }
        }
        .wrap-choice-magnifier {
            padding-top: 15px;
            i {
                display: inline-block;
                margin-left: 10px;
                border: 2px solid #fff;
                padding: 5px;
                &.active {
                    border: 2px solid #f10;
                }
                &:hover {
                    border: 2px solid #f10;
                }
            }
        }
        .wrap-big-magnifier {
            box-sizing: border-box;
            width: 400px;
            height: 400px;
            position: absolute;
            right: -410px;
            top: 0;
            overflow: hidden;
            border: 1px solid #ddd;
            display: none;
            z-index: 10;
            img {
                position: absolute;
                left: 0;
                top: 0;
                display: none;
                &.active{
                    display: block;
                }
            }
        }
    }
    // 放大镜部分结束

    // 商品信息详情部分
    .proinfo_main {
        position: relative;
        margin-left: 400px;
        padding: 0 0 8px 20px;
        min-height: 520px;
        z-index: 4;
        padding-right: 210px;
        padding-left: 10px;
        height: 889px;
        .proinfo_title {
            padding: 13px 10px 12px;
            background: #fff;
            h1 {
                font-weight: 700;
                font-size: 16px;
                line-height: 1.5;
                color: #222;
                _margin-left: -3px;
                word-break: break-all;
                min-height: 24px;
            }
            h2 {
                font-weight: normal;
                font-size: 14px;
                line-height: 18px;
                color: $nav_import_color;
                margin-top: 3px;
                _margin-left: -3px;
                word-break: break-all;
            }
        }
        .time_panel {
            background: url(../img/time_panel_bg.png);
            background-position: -164px -864px;
            height: 40px;
            line-height: 40px;
            img {
                float: left;
                height: 40px;
            }
            .time_countdown {
                .active_icon {
                    display: inline-block;
                    width: 18px;
                    height: 18px;
                    vertical-align: middle;
                    background: url(../img/time_panel_bg.png);
                    background-position: -979px -984px;
                    margin-left: 16px;
                    margin-top: -3px;
                }
                .active_label {
                    color: #fff;
                    margin-left: 6px;
                }
                .active_cd {
                    margin-left: 10px;
                    display: inline-block;
                    span {
                        text-align: center;
                        color: #fff;
                        font-weight: 600;
                        font-size: 14px;
                        width: 30px;
                    }
                    i {
                        // display: inline-block;
                        // width: 39px;
                        // height: 40px;
                        font: 700 14px/40px Tahoma;
                        color: #fff;
                        overflow: hidden;
                        word-break: break-all;
                    }
                }
            }
        }
        .goods_information {
            position: relative;
            padding: 0 0 8px;
            z-index: 6;
            .red_envelope {
                position: absolute;
                right: 2px;
                top: 2px;
                width: 234px;
                height: 137px;
                z-index: 11;
                .env_code {
                    position: relative;
                    .env_bg {
                        width: 234px;
                        height: 137px;
                    }
                    .env_code_two {
                        position: absolute;
                        top: 20px;
                        right: 14px;
                        width: 100px;
                        height: 100px;
                    }
                }
            }
            .goods_info_price_part {
                position: relative;
                min-height: 120px;
                background: rgb(255, 248, 243);
                height: 128px;
                padding-top: 12px;
                .reference_price {
                    margin-bottom: 4px;
                    overflow: hidden;
                    dt {
                        float: left;
                        width: 70px;
                        padding-left: 10px;
                        color: #999;
                        overflow: hidden;
                        margin-top: 1px;
                        span {
                            display: inline-block;
                            width: 72px;
                            letter-spacing: 6px;
                            font-size: 12px;
                        }
                    }
                    dd {
                        float: left;
                        del {
                            float: left;
                            font-size: 14px;
                            color: #999;
                            margin-top: 3px;
                            i {
                                font-weight: bold;
                            }
                        }
                    }
                }
                .activity_price {
                    margin-bottom: 2px;
                    dt {
                        float: left;
                        width: 70px;
                        padding-left: 10px;
                        color: #999;
                        overflow: hidden;
                        margin-top: 8px;
                        span {
                            display: inline-block;
                            width: 72px;
                            letter-spacing: 6px;
                            font-size: 12px;
                        }
                    }
                    dd {
                        height: 30px;
                        // margin-left: 80px;
                        width: 380px;
                        position: relative;
                        .main_price {
                            height: 28px;
                            float: left;
                            font: 700 30px/25px Tahoma;
                            color: #e00;
                            i {
                                font-size: 18px;
                            }
                            b {
                                display: inline-block;
                                margin-left: -12px;
                            }
                            span {
                                font-size: 24px;
                                display: inline-block;
                                margin-left: -8px;
                            }
                        }
                        .trend_disc {
                            display: flex;
                            position: absolute;
                            bottom: 6px;
                            width: 130px;
                            right: 60px;
                            img {
                                height: 18px;
                                width: 15px;
                            }
                            .trend_price {
                                margin-left: 4px;
                                color: #f50;
                                font-size: 14px;
                            }
                        }
                    }
                }
                .super_vip_box {
                    margin-bottom: 4px;
                    dt {
                        float: left;
                        width: 70px;
                        padding-left: 10px;
                        color: #999;
                        overflow: hidden;
                        margin-top: 8px;
                    }
                    .super_yz {
                        line-height: 18px;
                        margin-top: 8px;
                        overflow: hidden;
                        margin-left: 80px;
                        max-width: 230px;
                        .super_icon {
                            float: left;
                            height: 13px;
                            border: 0;
                            margin-right: 6px;
                            margin-bottom: 4px;
                            width: 13px;
                            background: url(../img/time_panel_bg.png);
                            background-position: -1042px -277px;
                            margin-top: 2px;
                        }
                        .super_word {
                            font-size: 12px;
                            color: #333;
                            margin-right: 13px;
                        }
                        a {
                            word-break: keep-all;
                            font-size: 12px;
                            color: #38d;
                            &:hover {
                                text-decoration: underline;
                            }
                        }
                    }
                }
            }
        }
        .evalluation_num {
            height: 18px;
            line-height: 18px;
            margin-right: 12px;
            margin-top: -3px;
            text-align: right;
            a {
                width: 88px;
                font-size: 12px;
                display: block;
                float: right;
                color: #333;
                &:hover {
                    color: $nav_import_color;
                    text-decoration: underline;
                }
            }
        }
        .preferential {
            padding: 5px 0;
            position: relative;
            overflow: hidden;
            margin-top: -18px;
            dt {
                float: left;
                width: 70px;
                padding-left: 10px;
                color: #999;
                overflow: hidden;
                span {
                    display: inline-block;
                    width: 72px;
                    letter-spacing: 6px;
                    font-size: 12px;
                }
            }
            dd {
                float: left;
                .discount_value {
                    height: 14px;
                    margin-bottom: 10px;
                    span {
                        color: #666;
                        font-size: 12px;
                    }
                }
            }
        }
        .coupons_list {
            position: relative;
            dd {
                float: left;
                margin-left: 80px;
                .more_coupons {
                    margin-bottom: 10px;
                    a {
                        position: relative;
                        color: #fff;
                        line-height: 18px;
                        display: inline-block;
                        margin-right: 10px;
                        font-size: 12px;
                        .coupons_border {
                            left: 0;
                            background: url(../img/time_panel_bg.png);
                            background-position: -1070px -161px;
                        }
                        span {
                            border-top: 1px solid #f60;
                            border-bottom: 1px solid #f60;
                            line-height: 16px;
                            padding: 0 2px 0 4px;
                            background-color: #f60;
                            display: inline-block;
                        }
                        .bm {
                            position: relative;
                            left: -3px;
                            width: 5px;
                            display: inline-block;
                            height: 18px;
                            vertical-align: top;
                            background: url(../img/time_panel_bg.png);
                            background-position: -1069px -57px;
                        }
                        .white_word {
                            position: relative;
                            left: -7px;
                            padding: 0 4px 0 2px;
                            background: #fff;
                            color: #f60;
                        }
                        .coupons_border_end {
                            position: absolute;
                            top: 1px;
                            height: 16px;
                            width: 2px;
                            right: 6px;
                            background: url(../img/time_panel_bg.png);
                            background-position: -1068px -161px;
                        }
                    }
                    .click_more {
                        color: #38d;
                        display: inline-block;
                        cursor: pointer;
                        font-size: 12px;
                        &:hover {
                            color: $nav_import_color;
                            text-decoration: underline;
                        }
                    }
                }
                .blow_coupons {
                    font-size: 12px;
                    margin-bottom: 10px;
                    .coupon_bg {
                        float: left;
                        display: block;
                        width: 65px;
                        height: 18px;
                        background: url(../img/time_panel_bg.png);
                        background-position: -561px -578px;
                        margin-right: 10px;
                        font-size: 12px;
                    }
                    span {
                        color: #666;
                        padding-right: 15px;
                        margin-top: 2px;
                        display: inline-block;
                    }
                    .now_blow {
                        display: inline-block;
                        font-size: 12px;
                        color: #38d;
                        &:hover {
                            text-decoration: underline;
                        }
                    }
                }
            }
        }
        .coupons_square {
            position: relative;
            dd {
                float: left;
                margin-left: 80px;
                font-size: 12px;
                .real_name {
                    overflow: hidden;
                    margin-bottom: 10px;
                    label {
                        float: left;
                        width: 52px;
                        margin-top: 1px;
                        height: 16px;
                        line-height: 16px;
                        color: #f60;
                        text-align: center;
                        border: 1px solid #f60;
                    }
                    .triangle {
                        float: left;
                        display: block;
                        border: 4px solid;
                        border-color: transparent transparent transparent #ccc;
                        font-size: 0;
                        margin-left: 4px;
                        margin-top: 4px;
                    }
                    .promp_info {
                        margin-left: 64px;
                        padding-right: 10px;
                        overflow: hidden;
                        color: #666;
                        padding-left: 2px;
                        display: flex;
                        position: relative;
                        top: 5px;
                        a {
                            color: #38d;
                            display: inline-block;
                            font-size: 12px;
                            margin-left: 14px;
                        }
                    }
                }
                .cloud_drill {
                    overflow: hidden;
                    margin-bottom: 10px;
                    label {
                        float: left;
                        width: 52px;
                        margin-top: 1px;
                        height: 16px;
                        line-height: 16px;
                        color: #f60;
                        text-align: center;
                        border: 1px solid #f60;
                    }
                    .triangle {
                        float: left;
                        display: block;
                        border: 4px solid;
                        border-color: transparent transparent transparent #ccc;
                        font-size: 0;
                        margin-left: 4px;
                        margin-top: 4px;
                    }
                    .promp_info {
                        margin-left: 64px;
                        padding-right: 10px;
                        overflow: hidden;
                        color: #666;
                        padding-left: 2px;
                        display: flex;
                        position: relative;
                        top: 5px;
                        a {
                            color: #38d;
                            display: inline-block;
                            font-size: 12px;
                            margin-left: 14px;
                        }
                    }
                }
            }
        }
        .send_to {
            margin-top: 9px;
            line-height: 28px;
            margin-bottom: 13px;
            overflow: hidden;
            width: 100%;
            font-size: 12px;
            dl {
                margin-bottom: 2px;
                dt {
                    float: left;
                    width: 72px;
                    padding-left: 10px;
                    color: #999;
                    overflow: hidden;
                    span {
                        letter-spacing: 6px;
                    }
                }
                dd {
                    float: left;
                    overflow: hidden;
                    .city {
                        float: left;
                        .u_city {
                            line-height: 1.5;
                            float: left;
                            font-size: 12px;
                            position: relative;
                            z-index: 0;
                            color: #666;
                            .u_city_togle {
                                border: 0;
                                padding: 7px 6px 6px;
                                color: #666;
                                margin-left: -6px;
                                line-height: 14px;
                                text-decoration: none;
                                outline: none;
                                cursor: pointer;
                                display: inline-block;
                                background: #fff;
                                position: relative;
                                z-index: 100;
                                b {
                                    padding: 0 10px 0 0;
                                    position: relative;
                                    color: #666;
                                }
                            }
                            .pay_now {
                                position: relative;
                                margin-bottom: 0;
                                line-height: 20px;
                                color: #999;
                                margin-right: 10px;
                                a {
                                    font-size: 12px;
                                    color: #666;
                                    &:hover {
                                        color: $nav_import_color;
                                        text-decoration: underline;
                                    }
                                }
                            }
                            .con_service {
                                color: #666;
                                white-space: nowrap;
                                display: inline-block;
                                img {
                                    width: 16px;
                                    height: 16px;
                                    vertical-align: middle;
                                    margin-top: -1px;
                                    margin-right: 2px;
                                }
                            }
                        }
                    }
                }
            }
        }
        .goods_choose {
            position: relative;
            padding-top: 20px;
            border-top: 1px dotted #ddd;
            .goods_style {
                padding-top: 5px;
                margin-bottom: 6px;
                font-size: 12px;
                overflow: hidden;
                dt {
                    float: left;
                    width: 70px;
                    padding-left: 10px;
                    color: #999;
                    overflow: hidden;
                    span {
                        display: inline-block;
                        letter-spacing: 8px;
                    }
                }
                dd {
                    float: left;
                    .tips {
                        float: left;
                        z-index: 666;
                        margin: 0 4px 5px 0;
                        a {
                            display: block;
                            position: relative;
                            float: left;
                            height: 38px;
                            line-height: 38px;
                            padding: 1px 8px 1px 1px;
                            border: 1px solid #ddd;
                            color: #666;
                            text-decoration: none;
                            vertical-align: middle;
                            white-space: nowrap;
                            img {
                                float: left;
                                display: block;
                                height: 38px;
                                width: 38px;
                                margin-right: 6px;
                            }
                            span {
                                float: left;
                                max-width: 180px;
                                overflow: hidden;
                                white-space: nowrap;
                                text-overflow: ellipsis;
                                color: #333;
                            }
                            i {
                                position: absolute;
                                right: -1px;
                                bottom: -1px;
                                width: 12px;
                                height: 12px;
                                background: url(../img/time_panel_bg.png);
                                background-position: -1026px -580px;
                                display: none;
                            }
                            &.active {
                                border: 1px solid #f50;
                                i {
                                    display: block;
                                }
                            }
                            &:hover {
                                border-color: #f50;
                            }
                        }
                    }
                }
            }
            .goods_service {
                dd {
                    .tips {
                        a {
                            height: 32px;
                            line-height: 32px;
                            img {
                                width: 16px;
                                height: 16px;
                                margin-top: 8px;
                                margin-left: 5px;
                            }
                        }
                    }
                }
            }
            .goods_number {
                dd {
                    button {
                        float: left;
                        height: 30px;
                        color: #666;
                        width: 22px;
                        outline: none;
                        border: none;
                        cursor: pointer;
                    }
                    .choose_value {
                        outline: none;
                        float: left;
                        float: left;
                        width: 25px;
                        height: 18px;
                        padding: 5px;
                        border: 1px solid #ddd;
                        margin: 0 5px;
                        text-align: center;
                    }
                    .product_limit {
                        display: block;
                        float: left;
                        line-height: 30px;
                        margin-left: 10px;
                        color: #333;
                        i {
                            color: $nav_import_color;
                        }
                    }
                }
            }
            .buy_btn {
                dd {
                    margin-left: 80px;
                    padding: 8px 0 20px 80px;
                    a {
                        position: relative;
                        float: left;
                        margin-right: 10px;
                        color: #999;
                        text-align: center;
                    }
                    .but_it_now {
                        background: #663200;
                        color: #fff;
                        width: 115px;
                        display: block;
                        font-size: 16px;
                        line-height: 40px;
                        font-weight: 600;
                        border-radius: 3px;
                        height: 40px;
                    }
                    .add_to_shop_car {
                        background: #f50;
                        color: #fff;
                        font: 16px/40px microsoft yahei;
                        font-weight: 600;
                        border-radius: 3px;
                        width: 135px;
                        height: 40px;
                        display: block;
                        i {
                            font-size: 18px;
                        }
                    }
                }
            }
        }
        .warm_promt {
            border-top: 1px dotted #ddd;
            padding-top: 5px;
            .promt_for_you {
                padding-top: 5px;
                margin-bottom: 6px;
                font-size: 12px;
                overflow: hidden;
                dt {
                    float: left;
                    width: 70px;
                    padding-left: 10px;
                    color: #999;
                    overflow: hidden;
                    span {
                        display: inline-block;
                        letter-spacing: 0px;
                    }
                }
                dd {
                    float: left;
                    font-size: 12px;
                    width: 432px;
                    color: #666;
                    line-height: 1.2;
                }
            }
            .service_for_you {
                margin-top: 20px;
                dt {
                    span {
                        letter-spacing: 23px;
                    }
                }
                dd {
                    span {
                        display: block;
                        float: left;
                        position: relative;
                        padding: 0 0 0 18px;
                        margin-right: 20px;
                        margin-bottom: 4px;
                        background: #fff;
                        white-space: nowrap;
                        position: relative;
                        a {
                            font-size: 12px;
                            color: #666;
                        }
                        img {
                            position: absolute;
                            top: 1px;
                            left: 0;
                            width: 14px;
                            height: 14px;
                            z-index: 1;
                        }
                    }
                }
            }
        }
    }
}
